花费 72 ms
ng-bind-html 的使用

AngualrJS 提供了指令ng-bind-html 用于绑定包含HTML标签的文档,使用方式: 测试案例: index.html index.js ...

Wed Feb 04 21:50:00 CST 2015 1 13912
解决mongodb ISODate相差8小时问题

服务端使用mongoose操作mongodb,其中Schema中的日期字段定义如下: 插入到mongodb中adte为:"date" : ISODate("2015-08-15T03:26:36 ...

Sat Aug 15 21:43:00 CST 2015 0 11966
ng-selected 与ng-options的使用

1:ng-selected用在<option>标签上面,ng-options用在<select>上面,用于动态创建options列表。 2:city.name作 ...

Thu Feb 05 16:15:00 CST 2015 0 12398
ng-repeat-start ng-repeat-end 的使用

ng-repeat-start与ng-repeat-end时AngularJS(1.2.x)扩展的, 使用这两个指令可以灵活控制遍历形式。 例如: index.html inde ...

Thu Feb 05 03:01:00 CST 2015 1 10931

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM